Skip to content

Conversation

@jkanive
Copy link

@jkanive jkanive commented Aug 23, 2025

What?

  1. Upgraded jsonwebtoken to the latest.
    Old version is deprecated and causes issues in https://github.com/bigcommerce-labs/gql-playground-admin
  2. Upgraded ESLint configuration for v9+ compatibility
    Added a new file eslint.config.js with the new flat config format and ES module syntax.
  3. Removed legacy .eslintrc.json usage
    Migrated from .eslintrc.json to eslint.config.js as required by ESLint v9+.
  4. Ensured ES module support in Node.js
    Added "type": "module" to support ES module syntax in config and source files.
  5. Fixed GZIP test header
    Updated the GZIP test in request.js to set a valid Content-Length header or removed it to avoid parse errors.

Why?

Jira: JIRA_TOKEN
TBD

Testing / Proof

Unit tests

@bigcommerce/api-client-developers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant